Blitz (298/640)

From:James L Boyd
Date:5 Sep 99 at 21:29:22
Subject:Re: HTTP access

Rick Hodger churned out *this* drivel:

>> Does anyone have any docs on what command I should be sending to
>> a server to download a file? From what I can tell, this sends
>> something like "GET http://www.blahblah.com.index.html"...

> Probably. What you need to do is send a "host" request as well, so before
> you send your "GET" command, you'd send "Host: servername" eg.
>
> HOST: www.pagan-games.com
> GET / HTTP/1.1

> This tells it to get the root document (/) of the server
> www.pagan-games.com

> If it were http://www.pagan-games.com/Open/discussion.htm, you'd send:
>
> HOST: www.pagan-games.com
> GET /Open/discussion.htm HTTP/1.1

OK, thanks, I'll try that out and see what happens... :)

See ya,






James L Boyd - jamesboyd@all-hail.freeserve.co.uk

Member of Team *AMIGA*, and *Dogbert's New Ruling Class.*

Connected from Dundee, Scotland.

(http://surf.to/all-hail/)


But what is all this fear of and opposition to oblivion? What
is the matter with the soft darkness, the dreamless sleep?
-- James Thurber

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie